﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Blank.Master" CodeBehind="Sell.aspx.vb" Inherits="SanDauGia.DAL.WebForm15" %>
<%@ Register assembly="Winthusiasm.HtmlEditor" namespace="Winthusiasm.HtmlEditor" tagprefix="cc1" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit.HTMLEditor" tagprefix="cc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="infoBoxHeading2_table" width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>
    <tr>
    <td class="infoBoxHeading2_l"><img src="images/infoBoxHeading2_tl.gif" alt="" width="5" border="0" height="4"/></td>
    <td class="infoBoxHeading2_td" style="text-align:center;">Đăng Sàn Đấu Giá</td>
    <td class="infoBoxHeading2_r"><img src="images/infoBoxHeading2_tr.gif" alt="" width="4" border="0" height="4"/></td>
    </tr>
</tbody>
</table>
<table class="infoBox_table" width="100%" border="0" cellpadding="0" cellspacing="0">
    <tbody>
    <tr>
        <td class="infoBox_td">
            
            
            <table class="infoBoxContents_table" width="100%" border="0" cellpadding="0" cellspacing="0">
            <tbody>
            <tr>
                <td class="boxText" align="center">
                
	            <table border="0" cellpadding="0" cellspacing="0">
                <tbody>
	            <tr>
	                <td class="td">
                    
                    <% If (Request.QueryString("page") Is Nothing) Then
                       %>
                       
                        <asp:MultiView ID="mvBan" runat="server" ActiveViewIndex="0">
                            <asp:View ID="View1" runat="server">

                                <table style="width: 100%">
                                    <tr>
                                        <td class="style10" colspan="2" style="text-align: center;">
                                            <b style="color: #CC0000">Bước 1: LOẠI SẢN PHẨM</b></td>
                                    </tr>
                                    <tr>
                                        <td class="style10" style="width: 257px">
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style10" style="width: 257px">
                                            Chọn danh mục sản phẩm muốn đấu giá:</td>
                                        <td>
                                            <asp:DropDownList ID="ddlDanhMuc" runat="server" AutoPostBack="True" 
                                                Height="20px" onselectedindexchanged="ddlDanhMuc_SelectedIndexChanged" 
                                                Width="151px">
                                            </asp:DropDownList>
                                            <asp:CompareValidator ID="cvDanhMuc" runat="server" 
                                                ControlToValidate="ddlDanhMuc" ErrorMessage="Chưa chọn danh mục sản phẩm" 
                                                Operator="NotEqual" SetFocusOnError="True" ValueToCompare="Chọn Danh Mục">*</asp:CompareValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style10" style="width: 257px">
                                            Chọn loại sản phẩm muốn đấu giá:</td>
                                        <td>
                                            <asp:UpdatePanel ID="upLoaiSanPham" runat="server" UpdateMode="Conditional">
                                                <ContentTemplate>
                                                    <asp:DropDownList ID="ddlLoai" runat="server" Height="20px" Width="150px">
                                                    </asp:DropDownList>
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="ddlDanhMuc" 
                                                        EventName="SelectedIndexChanged" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style10" style="width: 257px">
                                            &nbsp;</td>
                                        <td>
                                            <asp:ValidationSummary ID="ValidationSummary2" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style10" style="width: 257px">
                                            &nbsp;</td>
                                        <td style="text-align:right;">
                                            <asp:Button ID="btnStep1" runat="server" onclick="btnStep1_Click" 
                                                Text="&gt;&gt; Bước 2" />
                                        </td>
                                    </tr>
                                </table>

                            </asp:View>
                            <asp:View ID="View2" runat="server">
                                <table style="width: 100%">
                                    <tr>
                                        <td class="style1" colspan="4" 
                                            style="text-align:center; font-weight: bold; color: #CC0000;">
                                            Bước 2: THÔNG TIN SẢN PHẨM</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 16%">
                                            &nbsp;</td>
                                        <td colspan="3">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 16%">
                                            Tên Sản Phẩm:</td>
                                        <td colspan="3">
                                            <asp:TextBox ID="txtTenSanPham" runat="server" Width="407px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="txtTenSanPham" ErrorMessage="Chưa nhập tên sản phẩm">*</asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 16%">
                                            Mô tả ngắn gọn:</td>
                                        <td colspan="3">
                                            <asp:TextBox ID="txtMoTa" runat="server" Width="407px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                ControlToValidate="txtMoTa" ErrorMessage="Chưa nhập mô tả">*</asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 16%; height: 380px">
                                            Mô tả chi tiết:</td>
                                        <td colspan="3" style="height: 380px">
                                            <cc1:HtmlEditor ID="eMoTaChiTiet" runat="server" Height="353px" 
                                                HtmlModeEditable="False" Width="707px" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 16%">
                                            Hình sản phẩm:</td>
                                        <td class="style1" style="width: 280px">
                                            <asp:FileUpload ID="FileUpload1" runat="server" />
                                        </td>
                                        <td class="style10" style="width: 349px">
                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                                                <ContentTemplate>
                                                    <asp:Image ID="Image1" runat="server" Height="140px" Width="140px" />
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="lbtnXoa1" EventName="Click" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                        </td>
                                        <td style="width: 48%">
                                            <asp:LinkButton ID="lbtnXoa1" runat="server" ForeColor="Red" 
                                                onclick="lbtnXoa_Click">Xóa</asp:LinkButton>
                                            <asp:Label ID="lbTenHinh" runat="server" Visible="False"></asp:Label>
                                            <asp:Label ID="lbTenHinh2" runat="server" Visible="False"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 16%">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 280px">
                                            &nbsp;</td>
                                        <td style="width: 349px">
                                            &nbsp;</td>
                                        <td style="width: 48%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 16%">
                                            &nbsp;</td>
                                        <td colspan="3">
                                            <asp:Button ID="btnUpload" runat="server" onclick="btnUpload_Click" 
                                                Text="Upload File" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 16%">
                                            &nbsp;</td>
                                        <td colspan="3" style="text-align:center;">
                                            <asp:ValidationSummary ID="ValidationSummary3" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1" colspan="4">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 16%">
                                            &nbsp;</td>
                                        <td colspan="3" style="text-align:right;">
                                            <asp:Button ID="btnPrStep1" runat="server" Text="Bước 1 &lt;&lt;" 
                                                CausesValidation="False" onclick="btnPrStep4_Click" />
                                            <asp:Button ID="btnStep2" runat="server" Text="&gt;&gt; Bước 3" 
                                                onclick="btnNextStep1_Click" />
                                        </td>
                                    </tr>
                                </table>
                            </asp:View>
                            <asp:View ID="View3" runat="server">
                                <table style="width: 100%">
                                    <tr>
                                        <td colspan="4" 
                                            style="text-align: center; font-size: 13px; height: 16px; color: #CC0000;">
                                            <b>Bước 3: THÔNG TIN THỜI GIAN &amp; GIÁ CẢ</b></td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px">
                                            &nbsp;</td>
                                        <td style="width: 23%">
                                            &nbsp;</td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            Giá khởi điểm:</td>
                                        <td style="width: 23%">
                                            <asp:TextBox ID="txtGiaKhoiDiem" runat="server" Width="140px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvGiaKhoiDiem" runat="server" 
                                                ControlToValidate="txtGiaKhoiDiem" Display="Dynamic" 
                                                ErrorMessage="Chưa nhập giá khởi điểm">*</asp:RequiredFieldValidator>
                                            <asp:CompareValidator ID="cvGiaKhoiDiem" runat="server" 
                                                ControlToValidate="txtGiaKhoiDiem" Display="Dynamic" 
                                                ErrorMessage="Không đúng định dạng số" Operator="DataTypeCheck" Type="Integer">*</asp:CompareValidator>
                                        </td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            Giá sàn:</td>
                                        <td style="width: 23%">
                                            <asp:UpdatePanel ID="tpGiaSan" runat="server" UpdateMode="Conditional">
                                                <ContentTemplate>
                                                    <asp:TextBox ID="txtGiaSan" runat="server" Enabled="False" Width="140px"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvGiaSan" runat="server" 
                                                        ControlToValidate="txtGiaSan" Display="Dynamic" Enabled="False" 
                                                        ErrorMessage="Chưa nhập giá sàn">*</asp:RequiredFieldValidator>
                                                    <asp:CompareValidator ID="cvGiaSan" runat="server" 
                                                        ControlToValidate="txtGiaSan" Display="Dynamic" Enabled="False" 
                                                        ErrorMessage="Nhập không đúng kiểu dữ liệu." Operator="DataTypeCheck" 
                                                        Type="Integer">*</asp:CompareValidator>
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="ckGiaSan" EventName="CheckedChanged" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                        </td>
                                        <td colspan="2">
                                            <asp:CheckBox ID="ckGiaSan" runat="server" AutoPostBack="True" 
                                                oncheckedchanged="ckGiaSan_CheckedChanged" Text="Có Giá Sàn" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            Giá mua ngay:</td>
                                        <td style="width: 23%">
                                            <asp:UpdatePanel ID="upGiaMuaNgay" runat="server" UpdateMode="Conditional">
                                                <ContentTemplate>
                                                    <asp:TextBox ID="txtGiaMuaNgay" runat="server" Enabled="False" Width="140px"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvGiaMuaNgay" runat="server" 
                                                        ControlToValidate="txtGiaMuaNgay" Display="Dynamic" Enabled="False" 
                                                        ErrorMessage="Chưa nhập giá mua ngay">*</asp:RequiredFieldValidator>
                                                    <asp:CompareValidator ID="cvGiaMuaNgay" runat="server" 
                                                        ControlToValidate="txtGiaMuaNgay" Display="Dynamic" Enabled="False" 
                                                        ErrorMessage="Nhập không đúng kiểu dữ liệu." Operator="DataTypeCheck" 
                                                        Type="Integer">*</asp:CompareValidator>
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="ckGiaMuaNgay" EventName="CheckedChanged" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                        </td>
                                        <td colspan="2">
                                            <asp:CheckBox ID="ckGiaMuaNgay" runat="server" AutoPostBack="True" 
                                                oncheckedchanged="ckGiaMuaNgay_CheckedChanged" Text="Có Giá Mua Ngay" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            Khoảng cách nâng giá:</td>
                                        <td style="width: 23%">
                                            <asp:TextBox ID="txtNangGia" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                                                ControlToValidate="txtNangGia" Display="Dynamic" 
                                                ErrorMessage="Chưa nhập khung nâng giá">*</asp:RequiredFieldValidator>
                                            <asp:CompareValidator ID="CompareValidator4" runat="server" 
                                                ControlToValidate="txtNangGia" Display="Dynamic" 
                                                ErrorMessage="Nhập không đúng kiểu dữ liệu." Operator="DataTypeCheck" 
                                                Type="Integer">*</asp:CompareValidator>
                                        </td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            Thời gian đấu giá:</td>
                                        <td style="width: 23%">
                                            <asp:TextBox ID="txtThoiGianDauGia" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                                                ControlToValidate="txtThoiGianDauGia" Display="Dynamic" 
                                                ErrorMessage="Chưa nhập thời gian đấu giá.">*</asp:RequiredFieldValidator>
                                            <asp:CompareValidator ID="CompareValidator5" runat="server" 
                                                ControlToValidate="txtThoiGianDauGia" Display="Dynamic" 
                                                ErrorMessage="Nhập không đúng kiểu dữ liệu." Operator="DataTypeCheck" 
                                                Type="Integer">*</asp:CompareValidator>
                                        </td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            Địa điểm sản phẩm:</td>
                                        <td style="width: 23%">
                                            <asp:TextBox ID="txtDiaDiemSanPham" runat="server" Width="180px"></asp:TextBox>
                                        </td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td colspan="4" style="text-align:center;">
                                            <asp:ValidationSummary ID="ValidationSummary4" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                        <td style="text-align:right;">
                                            &nbsp;<asp:Button ID="btnPrStep2" runat="server" Text="Bước 2 &lt;&lt;" 
                                                CausesValidation="False" onclick="btnPrStep4_Click" />
                                            <asp:Button ID="btnStep3" runat="server" Text="&gt;&gt; Bước 4" 
                                                onclick="btnStep1_Click" />
                                        </td>
                                    </tr>
                                </table>
                            </asp:View>
                            <asp:View ID="View4" runat="server">
                                <table style="width: 100%">
                                    <tr>
                                        <td class="style1" colspan="4">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1" colspan="4" 
                                            style="text-align: center; font-weight: bold; color: #CC0000;">
                                            Bước 4: THÔNG TIN VỀ THANH TOÁN &amp; VẬN CHUYỂN</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px">
                                            &nbsp;</td>
                                        <td style="width: 23%">
                                            &nbsp;</td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            Hình thức thanh toán:</td>
                                        <td style="width: 23%">
                                            <asp:CheckBoxList ID="cblThanhToan" runat="server" 
                                                DataSourceID="LoadHinhThucThanhToan" DataTextField="TenHinhThuc" 
                                                DataValueField="MaHinhThuc">
                                            </asp:CheckBoxList>
                                            <asp:SqlDataSource ID="LoadHinhThucThanhToan" runat="server" 
                                                ConnectionString="<%$ ConnectionStrings:SanDauGiaConnectionString %>" 
                                                SelectCommand="SELECT [MaHinhThuc], [TenHinhThuc] FROM [HINHTHUCTHANHTOAN]">
                                            </asp:SqlDataSource>
                                        </td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            &nbsp;</td>
                                        <td style="width: 23%">
                                            &nbsp;</td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            Vùng:</td>
                                        <td style="width: 23%">
                                            <asp:CheckBox ID="ckTrongNuoc" runat="server" AutoPostBack="True" 
                                                oncheckedchanged="ckTrongNuoc_CheckedChanged" Text="Trong nước" />
                                        </td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            &nbsp;</td>
                                        <td colspan="2">
                                            <asp:UpdatePanel ID="upTrongNuoc" runat="server" UpdateMode="Conditional">
                                                <ContentTemplate>
                                                    <table style="border:1px; border-color:Black;">
                                                        <tr>
                                                            <td style="width: 161px; text-align: center; background-color: #CC0000">
                                                                Loại Phí</td>
                                                            <td style="text-align: center; background-color: #CC0000">
                                                                Mức Phí</td>
                                                        </tr>
                                                        <tr>
                                                            <td style="width: 161px">
                                                                Chuyển Phát Nhanh</td>
                                                            <td>
                                                                <asp:TextBox ID="txtCPNTrongNuoc" runat="server" Enabled="False"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td style="width: 161px">
                                                                Bưu phẩm thông thường</td>
                                                            <td>
                                                                <asp:TextBox ID="txtBPTrongNuoc" runat="server" Enabled="False"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="ckTrongNuoc" EventName="CheckedChanged" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                        </td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            &nbsp;</td>
                                        <td colspan="2">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            &nbsp;</td>
                                        <td style="width: 23%">
                                            <asp:CheckBox ID="ckNuocNgoai" runat="server" AutoPostBack="True" 
                                                oncheckedchanged="ckNuocNgoai_CheckedChanged" Text="Nước ngoài" />
                                        </td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            &nbsp;</td>
                                        <td colspan="2">
                                            <asp:UpdatePanel ID="upNuocNgoai" runat="server" UpdateMode="Conditional">
                                                <ContentTemplate>
                                                    <table>
                                                        <tr>
                                                            <td style="width: 161px; text-align: center; background-color: #CC0000">
                                                                Loại Phí</td>
                                                            <td style="text-align: center; background-color: #CC0000">
                                                                Mức Phí</td>
                                                        </tr>
                                                        <tr>
                                                            <td style="width: 161px">
                                                                Chuyển Phát Nhanh</td>
                                                            <td>
                                                                <asp:TextBox ID="txtCPNNuocNgoai" runat="server" Enabled="False"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td style="width: 161px">
                                                                Bưu phẩm đường thủy</td>
                                                            <td>
                                                                <asp:TextBox ID="txtBPNuocNgoai" runat="server" Enabled="False"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="ckNuocNgoai" EventName="CheckedChanged" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                        </td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            &nbsp;</td>
                                        <td style="width: 23%">
                                            &nbsp;</td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            Địa điểm:</td>
                                        <td style="width: 23%">
                                            <asp:TextBox ID="txtDiaDiem" runat="server" Height="20px" Width="190px"></asp:TextBox>
                                        </td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            &nbsp;</td>
                                        <td style="width: 23%">
                                            <asp:CheckBox ID="ckChoPhepTraHang" runat="server" AutoPostBack="True" 
                                                oncheckedchanged="ckChoPhepTraHang_CheckedChanged" Text="Cho phép trả hàng" />
                                        </td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            Thời hạn trả hàng:
                                            <td style="width: 23%">
                                                <asp:UpdatePanel ID="upTraHang" runat="server" UpdateMode="Conditional">
                                                    <ContentTemplate>
                                                        <asp:TextBox ID="txtTraHang" runat="server" Enabled="False"></asp:TextBox>
                                                    </ContentTemplate>
                                                    <Triggers>
                                                        <asp:AsyncPostBackTrigger ControlID="ckChoPhepTraHang" 
                                                            EventName="CheckedChanged" />
                                                    </Triggers>
                                                </asp:UpdatePanel>
                                            </td>
                                            <td style="width: 21%">
                                                &nbsp;</td>
                                            <td style="width: 32%">
                                                &nbsp;</td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            Hình thứch hoàn tiền:</td>
                                        <td style="width: 23%">
                                            <asp:UpdatePanel ID="upTraTien" runat="server" UpdateMode="Conditional">
                                                <ContentTemplate>
                                                    <asp:TextBox ID="txtTraTien" runat="server" Enabled="False" Height="20px" 
                                                        Width="244px"></asp:TextBox>
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="ckChoPhepTraHang" 
                                                        EventName="CheckedChanged" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                        </td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px; text-align: right;">
                                            Thuế:</td>
                                        <td style="width: 23%">
                                            &nbsp;</td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="width: 32%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style1" colspan="4" style="text-align:center;">
                                            <asp:ValidationSummary ID="ValidationSummary5" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style1" style="width: 314px">
                                            &nbsp;</td>
                                        <td style="width: 23%">
                                            &nbsp;</td>
                                        <td style="width: 21%">
                                            &nbsp;</td>
                                        <td style="text-align:right;">
                                            <asp:Button ID="btnPrStep3" runat="server" Text="Bước 3 &lt;&lt;" 
                                                CausesValidation="False" onclick="btnPrStep4_Click" />
                                            <asp:Button ID="btnStep4" runat="server" Text="&gt;&gt; Bước 5" 
                                                onclick="btnStep4_Click" />
                                        </td>
                                    </tr>
                                </table>
                            </asp:View>
                            <asp:View ID="View5" runat="server">
                                <table style="width: 100%">
                                    <tr>
                                        <td style="text-align: center; color: #CC0000; width: 83px;">
                                            &nbsp;</td>
                                        <td colspan="2" style="text-align: center; color: #CC0000;">
                                            <b>Bước 5: THÔNG TIN SÀN ĐẤU GIÁ</b></td>
                                        <td style="text-align: center; color: #CC0000; width: 92px;">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:left; width: 83px; color: #CC0000;">
                                            &nbsp;</td>
                                        <td colspan="2" style="text-align: left; color: #CC0000;">
                                            <b>Thông tin sản phẩm</b></td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td colspan="2" style="text-align: right;">
                                            <hr style="color: #CC0000" />
                                        </td>
                                        <td style="text-align: right; width: 92px;">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Tên sản phẩm:</td>
                                        <td>
                                            <asp:Label ID="lbTenSanPham" runat="server"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Danh mục:</td>
                                        <td>
                                            <asp:Label ID="lbDanhMuc" runat="server"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Loại:</td>
                                        <td>
                                            <asp:Label ID="lbLoai" runat="server"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Mô tả ngắn gọn:</td>
                                        <td>
                                            <asp:Label ID="lbMota" runat="server"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Mô tả chi tiết:</td>
                                        <td>
                                            <asp:Literal ID="lrMoTaChiTiet" runat="server"></asp:Literal>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Hình sản phẩm:</td>
                                        <td>
                                            <asp:Image ID="ImgKetQua" runat="server" />
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:left; width: 83px; color: #CC0000;">
                                            &nbsp;</td>
                                        <td colspan="2" style="text-align: left; color: #CC0000;">
                                            <b style="text-align: left">Thông tin giá cả:</b></td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td colspan="2" style="text-align: right;">
                                            <hr style="color: #CC0000" />
                                        </td>
                                        <td style="text-align: right; width: 92px;">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Giá khởi điểm:</td>
                                        <td>
                                            <asp:Label ID="lbGiaKhoiDiem" runat="server"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Giá sàn:</td>
                                        <td>
                                            <asp:Label ID="lbGiaSan" runat="server" 
                                                style="color: #CC0000; font-weight: 700"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Giá mua ngay:</td>
                                        <td>
                                            <asp:Label ID="lbGiaMuaNgay" runat="server" 
                                                style="font-weight: 700; color: #CC0000"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Khung nâng giá:</td>
                                        <td>
                                            <asp:Label ID="lbKhungNangGia" runat="server"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Thời gian đấu giá:</td>
                                        <td>
                                            <asp:Label ID="lbThoiGianDaugia" runat="server"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Địa điểm sản phẩm:</td>
                                        <td>
                                            <asp:Label ID="lbDiaDiemSP" runat="server"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:left; width: 83px; color: #CC0000;">
                                            &nbsp;</td>
                                        <td colspan="2" style="text-align: left; color: #CC0000;">
                                            <b>Hình thức thanh toán và vận chuyển:</b></td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td colspan="2" style="text-align: right;">
                                            <hr style="color: #CC0000" />
                                        </td>
                                        <td style="text-align: right; width: 92px;">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Hình thức thanh toán:</td>
                                        <td>
                                            <asp:Label ID="lbHinhThucThanhToan" runat="server"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Phí vận chuyển:</td>
                                        <td>
                                            <asp:Label ID="lbTrongNuoc" runat="server" ForeColor="#CC0000"></asp:Label>
                                            <asp:Label ID="lbtrongnuocd" runat="server"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            &nbsp;</td>
                                        <td>
                                            <asp:Label ID="lbNuocNgoai" runat="server" ForeColor="#CC0000"></asp:Label>
                                            <asp:Label ID="lbnuocngoaid" runat="server"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            Địa điểm:</td>
                                        <td>
                                            <asp:Label ID="lbDiaDiem" runat="server"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            &nbsp;</td>
                                        <td>
                                            <asp:Label ID="lbChoPhepTraHang" runat="server" ForeColor="#CC0000"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px;">
                                            &nbsp;</td>
                                        <td>
                                            <asp:Label ID="lbNgayTraHang" runat="server"></asp:Label>
                                        </td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="text-align: right; width: 150px;">
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="text-align: right; width: 150px;">
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="text-align: right; width: 150px;">
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="text-align: right; width: 150px;">
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="text-align: right; width: 150px;">
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; width: 83px;">
                                            &nbsp;</td>
                                        <td class="style1" style="text-align: right; width: 150px;">
                                            &nbsp;</td>
                                        <td>
                                            &nbsp;</td>
                                        <td style="width: 92px">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="width: 83px; text-align: right">
                                            &nbsp;</td>
                                        <td class="style1" style="width: 150px; text-align: right">
                                            &nbsp;</td>
                                        <td style="text-align:right;">
                                            <asp:Button ID="btnPrStep4" runat="server" CausesValidation="False" 
                                                onclick="btnPrStep4_Click" Text="Bước 4 &lt;&lt;" />
                                            <asp:Button ID="btnFinish" runat="server" onclick="btnFinish_Click" 
                                                Text="Hoàn tất &amp; đăng" />
                                        </td>
                                        <td style="text-align: right; width: 92px;">
                                            &nbsp;</td>
                                    </tr>
                                </table>
                            </asp:View>
                        </asp:MultiView>
                       
                        <%End If%>
                      
                    </td>
	            </tr>
	            </tbody>
                </table>
                 
                </td>
            </tr>
        </tbody>
        </table>
        </td>
    </tr>
    </tbody>
</table>
</asp:Content>
